package com.xmut.mall.order.to;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * 修改订单收货地址
 */
@Data
public class UpdateOrderConsigneeDto {

    private String sn;

    @NotEmpty(message = "收货人姓名不能为空")
    private String consigneeName;


    private String consigneeMobile;

    @NotBlank(message = "地址不能为空")
    private String consigneeAddressPath;

    @NotBlank(message = "地址不能为空")
    private String consigneeAddressIdPath;

    @NotEmpty(message = "详细地址不能为空")
    private String consigneeDetail;

    private Long storeId;

    private String storeName;
}
